import { createStore } from 'vuex'

export default createStore({
  state: {
    loged:false
  },
  mutations: {
    setLoged(state,log){
      state.loged = log
    }
  },
  actions: {
    setLog(context, value){
      context.commit('setLoged',value)
    },
  },
  modules: {
  }
})
